package com.njbdqn.ALi.zjg.services;

import java.util.List;

import com.njbdqn.ALi.zjg.dao.SendCommentDAO;
import com.njbdqn.ALi.zjg.entity.PageHelper;
import com.njbdqn.ALi.zjg.vo.SendCommentVO;

public class SendCommentService {
private SendCommentDAO scdao;
	
	public SendCommentService(){
		scdao = new SendCommentDAO();
	}

	public List<SendCommentVO> findAll(int userid){
		return scdao.findAll(userid);
	}
	public PageHelper findPage(int page,int userid){
		return scdao.findPage(page, 10, userid);
	}
}
